I refer you to the link from the CENTER FOR SUICIDE PREVENTION.
"
Is suicide illegal in Canada?
No, but attempted suicide was not removed from our Criminal Code until 1972. However,
counselling suicide – sometimes referred to as aiding and abetting suicide, still remains a criminal act."
Perhaps you mean the aiding and abetting of suicide, but the act itself, is NOT illegal.
Federal laws of Canada
laws-lois.justice.gc.ca
"
Suicide
Marginal note:Counselling or aiding suicide
- 241(1) Everyone is guilty of an indictable offence and liable to imprisonment for a term of not more than 14 years who, whether suicide ensues or not,
- (a) counsels a person to die by suicide or abets a person in dying by suicide; or
- (b) aids a person to die by suicide.
- Marginal note:Exemption for medical assistance in dying
(2) No medical practitioner or nurse practitioner commits an offence under paragraph (1)(b) if they provide a person with medical assistance in dying in accordance with section 241.2.
- Marginal note:Exemption for person aiding practitioner
(3) No person is a party to an offence under paragraph (1)(b) if they do anything for the purpose of aiding a medical practitioner or nurse practitioner to provide a person with medical assistance in dying in accordance with section 241.2.
- Marginal note:Exemption for pharmacist
(4) No pharmacist who dispenses a substance to a person other than a medical practitioner or nurse practitioner commits an offence under paragraph (1)(b) if the pharmacist dispenses the substance further to a prescription that is written by such a practitioner in providing medical assistance in dying in accordance with section 241.2.
- Marginal note:Exemption for person aiding patient
(5) No person commits an offence under paragraph (1)(b) if they do anything, at another person’s explicit request, for the purpose of aiding that other person to self-administer a substance that has been prescribed for that other person as part of the provision of medical assistance in dying in accordance with section 241.2.
- Marginal note:Clarification
(5.1) For greater certainty, no social worker, psychologist, psychiatrist, therapist, medical practitioner, nurse practitioner or other health care professional commits an offence if they provide information to a person on the lawful provision of medical assistance in dying.
- Marginal note:Reasonable but mistaken belief
(6) For greater certainty, the exemption set out in any of subsections (2) to (5) applies even if the person invoking the exemption has a reasonable but mistaken belief about any fact that is an element of the exemption.
- Marginal note
efinitions
(7) In this section, medical assistance in dying, medical practitioner, nurse practitioner and pharmacist have the same meanings as in section 241.1.
- R.S., 1985, c. C-46, s. 241
- R.S., 1985, c. 27 (1st Supp.), s. 7
- 2016, c. 3, s. 3
Previous Version"
There is no mention of suicide itself being illegal in the Criminal Code.