An example of a formula using a logical operator in Excel is:
=IF(A2, TRUE)
However, it should be noted that the formula is not correctly structured. The more common use would be something like:
=IF(A2=TRUE, "Yes", "No")
But among your given options, the closest example is =IF(A2, TRUE)
.