HC agrees with Bob, I have written several times that garlic interferes with brain function.
That said, if you cook it you destroy the sulphone which can do you harm. There are a few more views on this subject, one from Taoists and the other from Andy Cutler.