Doesn't matter, it's just speech. If you want to say free speech doesn't apply to certain classes of persons then this should be made very loud and clear so these persons can avoid coming to the USA.
the supreme court in Harisiades v. Shaughnessy (1952) said communist party affiliation (even past membership) was reason to deport non citizens.
This is well known in legal circles. This isn't something hidden. A US Citizen can be a member of the communist party (same first amendment, right of assembly), while a non citizen doesn't have the same right.
One can argue that this decision was wrong. One can argue that it is immoral, but its well known, and any immigration lawyer should know this decision, and know the risks their clients are taking on by some actions of theirs.