https://constitution.congress.gov/constitution/amendment-14/
Fourteenth Amendment
Section 1
All persons born or naturalized in the United States, and subject to the jurisdiction thereof, are citizens of the United States and of the State wherein they reside. No State shall make or enforce any law which shall abridge the privileges or immunities of citizens of the United States;
nor shall any State deprive any person of life, liberty, or property, without due process of law; nor deny to any person within its jurisdiction the equal protection of the laws.
Do you think that the 14th amendment would not protect the rights of visitors to the US or any other non-citizens?
What do you think would happen if some state passed a law that they were going to shoot any undocumented immigrants or even imprison them for years without trial?