Saying someone "acts weird" sounds like a personal opinion. If you mean they act unconventionally or disparate from social norms, that doesn't mean anything is wrong with them at all. Their differences to you could just be cultural. But, if you mean their behaviour is socially unacceptable then you may be speaking about emotional, behavioural, interpersonal or personality issues.
While it is true that some mental health disorders affect the above, to be defined as a mental health disorder the issue must include clinically significant disturbances in cognition, emotion regulation, behaviour etc, cause distress or impaired functioning, and be rooted in biological, psychological, or developmental processes.
To be clear, this is not a diagnosis of any individual. Only a medical professional can say if an individual has a mental health disorder or not; likewise, emotional, behavioural, interpersonal or personality issues would be identified by a professional in psychology or similar specialty.