If you help someone break a federal law you are prosecuted for aiding and abeting. If you allow a fugitive to hide in your house, you are prosecuted for harbouring a criminal.
Why then are the legislators of shelter cities or shelter states not prosecuted for aiding illegal aliens to break federal laws?