How exactly would immigration know who is a Muslim? It is not on the passports. Also you can't go by country. You can have Christians, Buddhists and atheists from a "Muslim country" as well. On a questionnaire someone could easily lie. They could wear Western clothing.
So how would one...