Revealing neural mechanisms of information processing using a simple brain