In line with Black's Law Dictionary (2nd version), "illegal" might imply only that something lacks authority from the regulation or aid from legislation (that is definitely, that it isn't lawful), not that It truly is from the law, but that in standard use it means a violation of the regulation. The "regulation" even so may be a typical-regulation