Illegals sue in US courts all the time. Day in, day out, day in, day out, day in, day out, in every state, in every Federal district court. And not because nobody’s every figured out that there’s a magic law to bounce them out of court.
There are “magic laws” to bounce a lot of the crap we see. But they just get ignored. The 10th amendment is one such magic law.
“The powers not delegated to the United States by the Constitution, nor prohibited by it to the States, are reserved to the States respectively, or to the people.”
Very magic law. So they just ignore it.