Solution to the problem:
Cause and effect: Isolate, remove, get rid of the cause and you rectify and cure the effect.
Legislators who vote for open borders and lax immigration laws should be forced to have diseased people and criminals who are here as a result move into their homes.
In other words, legislators should be forced to live with the consequences of the laws they pass. They should not be allowed to force their wishes on the rest of society which must then suffer from it.