Re: "[T]he Trump administration was cracking down on Muslim people traveling into the States."
You do realise that that particular example was about keeping people IN a country before murdering. Similar to Cambodia (Pohl Pott); China (Culteral Revolution) assorted genocides in Russia/USSR.
So a country reserves the right to examine you at the border - most Arab states (Saudi of course reserves the right to examine every storage device; and no encryption is allowed); most African; a lot of American states (including the big one in the northern part) oh and most European states do exactly that.
ABSOLUTELY NOTHING TO DO WITH THE HELL OF NATIONAL SOCIALISM
However you may like to research what happened to the refuges from that period who were refused entry into all sorts of surprising countries; um; you could start with the Exodus - refugee ship.
You obviously failed to understand anything taught to you in history