I don't think this is correct, because I'm pretty sure that overstaying your visa is a civil violation, not a criminal offense. All criminal acts are illegal, but not all illegal acts are criminal.