You are eligible to apply. Whether your medicals will pass or not will depend upon your upfront medical examination conducted by a panel physician. If you do take drugs for schizophrenia, do not forget to mention it to your doctor while giving your uprfont medical examination.
Canada will accept people will mental illness as long as their condition would not be a financial burden on their healthcare system and are not a biological threat to the Canadian society.