No that's just you distorting the law again.
Supreme Court case of Kleindienst v. Mandel. In Mandel, a collection of scholars demanded that the U.S. grant a non-immigrant visa to Belgian Marxist journalist. The government had denied him entry under provisions of American law excluding those who advocated or published "the economic, international, and governmental doctrines of world communism." Make no mistake, the First Amendment protects the right to advocate or publish Marxist doctrines every bit as much as it protects the free exercise of the Islamic faith.
Yet the Supreme Court still ruled against the Belgian journalist:
The meaning is clear. If the order is supported by legitimate and bona fide reasons on its face, you simply don't go beyond the document. By that standard, the executive order is easily and clearly lawful. On its face, the order asserts a legitimate and bona fide national-security justification. On its face, the order isn't remotely a Muslim ban. On its face it doesn't target the Muslim faith in any way, shape, or form. On its face it describes exactly why each nation is included.