Background: Our prior study reveal that the distension-contraction profiles using high-resolution manometry impedance (HRMZ) recordings can distinguish patients with dysphagia symptom but normal esophageal function testing ("functional dysphagia") from controls. Aims: To determine the diagnostic value of the recording protocol used in our prior studies (10cc swallows with subjects in the Trendelenburg position) against the standard clinical protocol (5cc swallows with subject in the supine position). We used advanced machine learning techniques and robust metrics for the classification purposes. Methods: Studies were performed in 30 healthy subjects and 30 patients with functional dysphagia. A custom-built software was used to extract the relevant distension-contraction features of esophageal peristalsis. Ensemble methods, i.e., gradient boost, support vector machines (SVM), and logit boost were used as the primary machine learning algorithms. Results: While the individual contraction features were marginally different between the two groups, the distension features of peristalsis were significantly different. The ROC curves values for the standard recording protocol, for the distension features ranged from 0.74 to 0.82; they were significantly better for the protocol used in our prior studies, ranged from 0.81-0.91. The ROC curve values using 3 machine learning algorithms were far superior for the distension than the contraction features of esophageal peristalsis, revealing value of 0.95 for the SVM algorithm. Conclusions: Current patient classification based on the contraction phase of peristalsis misses large number of patients who have abnormality in the distension phase of peristalsis. Distension contraction plots should be the standard of assessing esophageal peristalsis in clinical practice.