Can people with mental health problems be deported?

When a person is granted indefinite leave to remain in this country they are given a list of conditions and warned that if they commit a crime the decision can be reversed and they can be deported. does this still apply to people who have mental health issues? this is in the uk
Answer
Ye , that be right , always something to hide behind lolseriously tho ,if there not well enough to go back (if they have comited a crime )then as far as i see it they aint fit to live round my kids either. so two choices ....deport or secure mental institution.... i think i know the outcome ...