Because logical determinism is not the same as physical determinism and a brain that can do logic (or maths) can arrive at conclusions, and thus behaviour that cannot be arrived at any other way. Which, of course, would be downward causation...
A brain that can do logic is a brain that has the necessary 'wiring' to do logic.
Well, kinda.
It's certainly the case that mental states supervene on physical states. That's just a commitment to monism. However, rather than argue something I've demonstrated before, to no discernable effect, I'll just point you at the work of Donald Davidson and Jaegwon Kim on anomalous monism. This isn't an argument, merely pointing you in a direction that is available. However, if you want to argue the case, rather than making a statement of what seems intuitively obvious to you and assuming that stands as a refutation, as both you and UM have done, I'd suggest that you have a go at explaining how the Banach Tarski paradox is remotely possible if what you imply is true.
If understanding the mind/brain were as simple as following what is intuitively obvious, there wouldn't be a problem with understanding how we work.
As for UM, until he realises that the public relations department isn't the management...