Yes and no. 'Mental illness' as a general category has minimal correlation with violence - but that's a VERY broad category. Some specific symptom sets, however - e.g. threat and control override symptoms - increase the likelihood of violence up to 6 times over.