How about sex change surgery for migrants?
That would keep them out.
I’m pretty sure that’s what 90% of them are coming here for.