Remaining in the US by overstaying a visa is indeed a civil offense, but entering illegally is a misdemeanor (first offense) or felony (subsequent offenses)
Many detainees entered legally
Many detainees entered legally