Sleep disorders significantly impact public health, but their detection is often complicated by the multifaceted nature of causative factors. This study investigates the efficacy of various machine learning (ML) models in identifying sleep disorders based on comprehensive lifestyle and health data. We employed a dataset comprising 400 individual records with features including demographic information, sleep metrics, lifestyle factors, and health parameters. The dataset distinguished between individuals with no sleep disorder, insomnia, and sleep apnea. We evaluated a broad spectrum of ML models including logistic regression, decision trees, ensemble methods like RandomForest and GradientBoosting, support vector machines, and neural networks. The models' performances were assessed using accuracy, precision, recall, and F1 score metrics. Results indicated that ensemble methods, particularly RandomForest and XGBClassifier, outperformed other models in terms of accuracy, precision, and F1 scores, achieving values as high as 0.93. These methods proved effective in managing the complexity and variability of the dataset, thereby suggesting their robustness in clinical predictive analytics. The study's findings advocate for the use of advanced ensemble techniques in developing diagnostic tools for sleep disorders, highlighting their potential to enhance predictive accuracy and reliability in real-world healthcare settings. Further research is recommended to optimize these models and explore their integration into clinical practice.