Rather hard to do that because illegals can get fake identities.
Fake identities cost money. The illegals don't have that kind of money. The coyotes sneak them in where they know there is work waiting for them. They ARE "undocumented" and the Americans hire them.