Other states, including Arizona, Georgia and Colorado, have passed similar laws in the past several years in a growing trend by state legislatures to crack down on illegal immigration within their borders in the absence of comprehensive federal action.