Overstaying a visa or crossing a border without authorisation is a crime
Overstaying a visa is not a crime. Even if it was, it would still be possible for the probability of commiting a crime (expressed as, say, an annual figure) for the undocumented to be lower than citizens.