ALB and diabetes mellitus: Among them, albumin (OR = 0.662, 95% CI = 0.602–0.727, p < 0.05), total cholesterol (OR = 2.007, 95% CI = 1.079–3.733, p < 0.05), HDL cholesterol (OR = 0.153, 95% CI = 0.042–0.553, p < 0.05), LDL lipoprotein cholesterol (OR = 0.456, 95% CI = 0.210–0.991, p < 0.05), hypertension (OR = 3.086, 95% CI = 1.691–5.632, p < 0.05), diabetes mellitus (OR = 4.358, 95% CI = 1.867–10.172, p < 0.05), alcohol consumption (OR = 2.274, 95% CI = 1.239–4.174, p < 0.05) had a statistically significant effect on ischemic stroke.