No, they aren't illegal. Nobody is going to arrest you for having them.
They are, however, against the terms of service, and the practical consequence is a ban from Xbox Live if you're caught using them online. So the risk is to your account rather than to you. Offline and single-player use is where mods stay consequence-free.