Is personality disorder a mental illness?

No, but it is one of the predisposing quality factors for mental illness.