I understand that the consitution also applies to people who are illegal in the United States. This is very important for people who travel to the United States by plane and are rejected entrance for some reason, for example having certain messaged on social media, and are thus declared illegals to be send home. The idea that I as an EU member could be deported to El Salvador, is enough reason for me to not consider to travel to the USA and advice everyone to avoid doing it as well, especially if the are of (mixed) color.
There is a bit of a difference between someone who is denied entry at the border, and someone who is allowed entry, fully documented, given work permits, and have been in the country for several years.
Being denied entry at the border, isn't something that I would risk if I was planning a holiday or even an extended visit. That's just a good way to ruin everyone's plans and waste a bunch of money. I can totally understand why people wouldn't come here and risk that denial even when they have a visa in hand.
I just wanted to state that the right for due process is not restricted to people being legally in the USA, it applies to all people, no matter their legal status (as I am not mistaken).
Several people, including teenage girls, have been stripped searched when they were rejected entry and had to wait overnight for a return flight. Also being in the country as a tourist, you are no longer safe. NYPD and ICE mistakenly arrested a Chilean woman here in NYC on vacation and left her 12 year old daughter alone in the street. https://x.com/Suzierizzo1/status/1931541931030389049