A tourist A comes to a country where people are divided into two categories: Liars (L) and Truth Sayers (T). Ls always lie and Ts always speak the truth. Intending to walk to the capital, the tourist comes to a cross road from where the left road goes to the capital. An inhabitant B of the country is standing at the junction.
A asks a single yes/no question of the form “Is it true that _?” to B, and the answer reveals the correct direction to the capital. Construct A’s question by filling in the blank with a statement which makes use of the following two sub-statements (which are either true or false)
(i) Mr. B always lies
(ii) The left road leads to the capital
The goal is to have it so both T and L give the same answer to your question, and what that answer is reveals whether the left road leads to the capital.
T always answers true, so statement (i) will be false. So when speaking to a T, you want $$0 ? (ii) = (ii)$$
When speaking to an L, statement (i) will be true. So you want $$\lnot \left(1 ? (ii)\right) = (ii)$$
You need the answer to change based on (ii), regardless of if statement (i) is true or false. You need it to be false for $(0 ? 0)$ and $(1 ? 1)$, and true for $(0 ? 1)$ and $(1 ? 0)$.
That operation is XOR, also known as exclusive or. When dealing with everyday situations rather than formal logic, the form "or" takes is typically logical XOR. But to avoid ambiguity, you could make the statement as follows.
Is it true that exactly one of the following two statements is true: Mr. B always lies, the left road leads to the capital.