State of mind = your attitude and way you are thinking at the time.
Good state of mind = happy, positive, cheerful
Bad state of mind = sad, pessimistic, mad
Being in fear is a state of mind.
A state of mind is having a certain emotion.
It is a common English expression.
If I said, " I have a solid state of mind" it would mean I feel good and can think clearly