We use propositional logic to simplify language into small parts and then give them values like true or false.
In this example an AI can then judge the truth value of A and B separately and then the truth value of the entire sentence.
A
B