A federal judge ruled Tuesday that the Trump administration ’s efforts to deport noncitizens for protesting the war in Gaza was unconstitutional.
U.S. District Judge William Young in Boston agreed with several university associations that the policy they described as ideological deportation violates the First Amendment. The ruling came after a trial.
I’m guessing that this case could go either way, if appealed.
If you’re a citizen, there are some strong restrictions on what the government can do.
But there have been examples where the Executive Branch is accorded a great deal of leeway in being able to determine whether non-citizens may enter the country, including using criteria that would not be permissible if applied to citizens. IIRC from past reading, there is unresolved territory in case law.
kagis for an example
https://supreme.justia.com/cases/federal/us/408/753/
So, in that case, the guy was barred from entry to the US because he had been an advocate of world communism. However, the government could not create laws against citizens doing so, because that would violate their First Amendment rights.
kagis
Ah, but this says that while the government does have a lot of leeway as to permitting entry, courts have, in the past, found a distinction between permitting entry initially and whether-or-not a non-citizen resident may be deported:
https://firstamendment.mtsu.edu/article/aliens/