Legality refers to something that is allowed or permitted according to the law. If something is legal, it means it is not against the rules or prohibited by the governing authorities. Full definition
However, as to the separate question of legality of suicide, suicide is not always successful, and an attempt to violate the law is also against the law. (law.stackexchange.com)
Based on the report, the government may give it's decision about legality of Bitcoins. (kryptomoney.com)
«MacKay rewording Supreme Court Act while seeking court's advice on legality of Nadon's appointment». (slaw.ca)