If the pilot's brain "malfunctioned" , the cause of the crash is pilot error.
It is an x-o calculation.
If he was fed misinformation, by systems, and relied on this, in the absence of common sense as decided by his peers, he was responsible for the loss.
If the misinformation due to systemic error was overwhelming and utterly confounding, for a pilot in his situation, as judged by his peers, he is innocent.