Text this: Neural Networks Track the Logical Complexity of Boolean Concepts