CREATE TABLE table_train_130 ("id" INT, "gender" TEXT, "systolic_blood_pressure_sbp" INT, "right_bundle_branch_block" BOOLEAN, "space_occupying_cerebral_lesion" BOOLEAN, "huntington_disease" BOOLEAN, "psychiatric_disease" BOOLEAN, "mental_illness" BOOLEAN, "treatment_regimen" BOOLEAN, "psychotic_disorder" BOOLEAN, "diastolic_blood_pressure_dbp" INT, "bipolar_disorder" BOOLEAN, "serum_creatinine" FLOAT, "seizure_disorder" BOOLEAN, "vascular_dementia" BOOLEAN, "parkinson_disease" BOOLEAN, "normal_pressure_hydrocephalus" BOOLEAN, "significant_neurological_disease" BOOLEAN, "ad" BOOLEAN, "ninds_airen_criteria" BOOLEAN, "hypertension" BOOLEAN, "bilirubin" FLOAT, "major_depression" BOOLEAN, "NOUSE" FLOAT)

diagnosis of significant neurological / psychiatric disease other than ad, including, but not limited to, any of the following: vascular dementia according to ninds _ airen criteria, space occupying cerebral lesion, huntington's disease, parkinson's disease, normal pressure hydrocephalus, and seizures.
SELECT * FROM table_train_130 WHERE significant_neurological_disease = 1 OR psychiatric_disease = 1 AND ad = 0 OR vascular_dementia = 1 OR (ninds_airen_criteria = 1 OR space_occupying_cerebral_lesion = 1 OR huntington_disease = 1 OR parkinson_disease = 1 OR normal_pressure_hydrocephalus = 1 AND seizure_disorder = 1)
SELECT * FROM "table_train_130" WHERE ("ad" = 0 OR "huntington_disease" = 1 OR "ninds_airen_criteria" = 1 OR "normal_pressure_hydrocephalus" = 1 OR "parkinson_disease" = 1 OR "space_occupying_cerebral_lesion" = 1 OR "vascular_dementia" = 1) AND ("ad" = 0 OR "seizure_disorder" = 1 OR "vascular_dementia" = 1) AND ("huntington_disease" = 1 OR "ninds_airen_criteria" = 1 OR "normal_pressure_hydrocephalus" = 1 OR "parkinson_disease" = 1 OR "psychiatric_disease" = 1 OR "significant_neurological_disease" = 1 OR "space_occupying_cerebral_lesion" = 1 OR "vascular_dementia" = 1) AND ("psychiatric_disease" = 1 OR "seizure_disorder" = 1 OR "significant_neurological_disease" = 1 OR "vascular_dementia" = 1)