Exactly;
“A state or local government entity or official may not prohibit, or in any way restrict… sending to, or receiving from, the Immigration and Naturalization Service information regarding the citizenship or immigration status, lawful or unlawful, of any individual.”  (8 U.S. Code, section 1373)

"Any person who, knowing that an alien has come to the U.S. in violation of law, conceals, harbors, or shields from detection such alien in any place, including any building… shall be imprisoned not more than 5 years.”  (8 U.S. Code, section 1324)