I am a lawyer, but not an immigration lawyer, so this may be out of date, but the last time I looked this up, entering the country illegally was a crime, but entering legally (e.g., on a tourist or student visa) and staying illegally (overstaying your visa) rendered you civilly deportable but wasn't a crime.