If you define the mind as intelligence, then the source of all intelligence is God. Of course the body, each individual cell is also intelligent, smartly defined, perfectly functional just as every atom, planet, sun, etc. is intelligently designed, constructed. Everything is a manifesttion fo God's thought. God's thought precedes the body, mind, ice cream, good, evil, etc.