I already answered that question in anearlier post. Federal law supercedes local law. The state of Arizon does not control the border. The Federal government does. What laws make it a crime to turn in illegal immigrants? I am unaware of these laws.
I know for a fact, that there are laws, local laws, quite a few decades old, in N.Y.C. and in Chicago, which forbids the people in the professions I named, from alerting the INS/ICE to the illegal aliens whom they've come in contact with, in a professional way. I also know, unlike you, evidently, that there are other places, whose local laws are the same or similar.
You are unaware of facts, yet you post, with "authority", about that which you have little knowledge of.
In a debate, knowledge is key. Facts matter; they really do!