Too much or too little of any substance that helps the body work the way it should. A chemical imbalance may be caused by certain tumors and can cause changes in behavior or emotion.