Illegal immigration is a prosecutable offense replete with fines and prison sentences. As I understand it, a judge hears the cases and can sentence an individual to deportation, fines, or prison time depending on the defendant's circumstances. IANAL.
https://en.wikipedia.org/wiki/Immigration_and_Nationality_Ac...