In accordance with Black's Legislation Dictionary (2nd edition), "illegal" could imply only that some thing lacks authority from the law or guidance from regulation (that may be, that it isn't authorized), not that It is towards the law, but that in ordinary use this means a violation from the legislation. The "regulation" even so may be a typical-