All perfect praise be to Allah, The Lord of the Worlds. I testify that there is none worthy of worship except Allah, and that Muhammad is His slave and Messenger.
First of all, we warn our Muslim brothers against taking such mutters lightly and joking about them, because some people said a word of disbelief jokingly, and Allah ruled them to be disbelievers because of it. Allah Says (what means): {And if you ask them, they will surely say, "We were only conversing and playing." Say, "Is it Allah and His verses and His Messenger that you were mocking?" Make no excuse; you have disbelieved after your belief. If We pardon one faction of you - We will punish another faction because they were criminals.} [Quran 9:65-66] Their story was reported by At-Tabaraani.
It appears –Allah knowns best – that you do not become a disbeliever because of the act which you did (imitating the people of disbelief), if you did it jokingly and not out of love to them. However, it is not permissible for you to imitate them in it.
Ad-Dardeer, a Maaliki scholar, said about Az-Zunnaar: “If a Muslim wears the Zunnaar (which is a dress peculiar to the disbelievers) because he loves it and its people, then, he becomes an apostate. If he wears it in jest then it is unlawful and not disbelief.” [End of quote]
For more benefit, please refer to Fatwa 63792.
Allah knows best.