Diagnosing NAS involves a combination of maternal history, observation of symptoms, and specific screening tools. The most commonly used tool is the Finnegan Neonatal Abstinence Scoring System, which assesses the severity of withdrawal symptoms. Additionally, urine and meconium tests can help identify the presence of drugs in the newborn's system.