Arizona lawmakers on Tuesday passed one of the toughest pieces of immigration-enforcement legislation in the country, which would make it a violation of state law to be in the U.S. without proper documentation.

It would also grant police the power to stop and verify the immigration status of anyone they suspect of being illegal.

The bill...