No matter how complex or refined, all behavior is to be explained in terms of stimulus and response.
The mind is a biological adaptation shaped by evolution.