Simply, illegals are not “under the jurisdiction thereof” as meant in the Fourteenth Amendment.
Careful, that kind of parsing leads to the question of what a “well-regulated militia” is.