An OR gate gives a high output (logic 1) if any one or both of its inputs are high.The only time an OR gate outputs low (logic 0) is when both inputs are low. Truth table for a two-input OR gate: