On Board Diagnosis Logic
WARNING: This page is about a different car, the 2004 Nissan Sentra. However, it is still accessible from the selected car via links, so may be relevant.
To judge the malfunction, the output from the heated oxygen sensor 1 is monitored to determine whether the rich output is sufficiently high and whether the lean output is sufficiently low. When both the outputs are shifting to the lean side, the malfunction will be detected.