and you live in Scotland, you have something in common with people who have been imprisoned for 5 years or more, people who have been detained in borstal, and people on bail in connection with criminal proceedings.
You are “not qualified for jury service”.
There is one good thing about the Scottish call-up: people with mental illness are disqualified only if they are detained in hospital or under a guardianship under the Adults with Incapacity Act. Both of these imply that the person is not competent at that time. In England, I understand things are rather different.