Two systems are said to be in thermal equilibrium if and only if :

Two systems are said to be in thermal equilibrium if and only if :

there can be a heat flow between them even if they are at different temperatures
there cannot be a heat flow between them even if they are at different temperatures
there is no heat flow between them
their temperatures are slightly different
This question was previously asked in
UPSC CDS-1 – 2016
Two systems are in thermal equilibrium if there is no heat flow between them.
According to the zeroth law of thermodynamics, if two systems are in thermal equilibrium with a third system, they are also in thermal equilibrium with each other. Thermal equilibrium is the state where there is no net flow of heat between objects in thermal contact. This condition is met when the objects are at the same temperature.
Heat flow is the transfer of thermal energy from a region of higher temperature to a region of lower temperature. If the temperatures are different and the systems are in thermal contact, heat will flow until thermal equilibrium is reached and their temperatures become equal.