If they enter it illegally, that's probably a crime (I have no idea of what it's like in the US).
Of course visa violations aren't a crime, did you ever had to fill administrative papers? What if misfiling your taxes was a crime, regardless of intent? Do you want everyone who made a mistake on their taxes to go to prison preventively? Or only fraudsters?