It is good that you have decided to seek professional help. Having an in-person evaluation by a mental health professional is typically how a diagnosis is determined. Diagnosis via the Internet is difficult, given the lack of personal details and psychosocial history. Based on the information provided, there are several possible explanations for what might be wrong but please remember that I have limited information.
Hallucinations and delusions are associated with psychotic disorders. Psychotic disorders include schizophrenia, schizoaffective disorder, psychotic disorder not otherwise specified (NOS), bipolar disorder, and several others. You stated that you had hallucinations but have never had them again. With regard to delusions, it is unclear if you currently have them or if they were something that only occurred years ago.
Having a history of hallucinations and delusions does not mean that you have a psychotic disorder but it does increase the likelihood. Whether or not you have a psychotic disorder depends on if you currently are experiencing symptoms of psychosis, how often those symptoms occur and their level of severity. Bipolar disorder may be the most likely possibility given your current symptoms which include (as you described them): being overly happy and making impulsive decisions which led to your involvement with law enforcement. Again, given the fact that I have limited psychosocial and personal information, a potential diagnosis of bipolar disorder can only be considered speculative.
Seeking professional mental health treatment is the wisest approach to addressing your psychological problems. When meeting with the mental health professional, inquire about the possibility of medication. Medication could significantly reduce your symptoms and improve your overall mood and emotional stability. I wish you the best of luck. Please take care.