Sheikh abdulaziz al salam alaikum , sheikh is it haram to study books that talk about fallacies that occur in inferences or discussions in order to train my mind in refuting to be alerted to such fallacies like for example the straw hat fallacy etc.. is it haram? and is logic books haram generally?

Ustadh AbdulAziz al-Haqqan
Why not train your brain by reading Islamic books like the books of imam ibn uthaymeen.