Mental illness is something diagnosed by doctors or mental health professionals.
It's when, in their opinion, you have symptoms or problems that interfere with your ability to lead a normal life. This means your ability to do the normal day-to-day things like concentrate, have healthy relationships and be able to communicate and interact with other people.