Re: "[T]he Trump administration was cracking down on Muslim people traveling into the States."
> So a country reserves the right to examine you at the border
Dear Peter, no UN member state¹ may, in the legitimate exercise of its sovereignty, discriminate against people by reason of their metaphysical / religious convictions, culture or ethnicity.
¹ If one is of the opinion that human rights are a consuetudinary part of international law, then non-UN members are also included.