SAN FRANCISCO—Think of the brain as if it were a house. Insulated from its environment, a house relies on complex networks—pipes, drains, and disposal