How do you know they're illegal immigrants if not by means of due process?
However, in practice, if you're a citizen, it's pretty easy to prove it. You'll be carrying forms of state-issued ID and you'll have a paper trail that makes it obvious. There's rarely much ambiguity over whether a particular person is here legally or illegally, as much as some might like to pretend there is.
[1] https://apnews.com/article/marcelo-gomes-ice-massachusetts-a...
[1] https://www.npr.org/2025/04/16/nx-s1-5366178/trump-deport-ja...
[2] https://www.npr.org/2024/10/21/nx-s1-5134924/trump-election-...