TCM detects a neutral condition based on engine RPM, input RPM and output RPM while the shifter is in drive.