Noun
legalness (uncountable) The state of being legal, or within the law. The legalness of the act does not change its immorality, only whether you can be arrested for it.