If a logic element has an error, or if it is simply not activated, then you can recognize this due to the colour of the element.
The element is working fine.
The output of this element is being simulated.
The element does not have a fault, but it is deactivated.
The element has a fault: either an input has no value, or the output it is linked to no longer exists.