If illegal workers were the only bad thing coming across the border you might have a point.
If it were possible to verify the documents provided by every single worker, you might be right.
Of course, that isn’t reality. Obama killed the expansion of E Verify in his first budget.