Understood in the right way, there's nothing wring with that comparison.
Certainly, people misuse/misunderstand the information-processing metaphor/claim. (Though the people who do this tend not to be cognitjve scientists.) But that's not to say that the metaphor is complete garbage.