If you do not have permission to be in the country, you are breaking the law, that makes you a criminal. So yes being the in the country illegally is a crime. Who woulda thunk that the average citizen would know more than a "lawyer" (don't buy that for a second)