This character is eccentric.
Eccentricity (also called quirkiness) refers to unusual or odd behavior on the part of an individual. This behavior would typically be perceived as unusual or unnecessary, without being demonstrably maladaptive.
Eccentricity is often associated with genius, intellectual giftedness, or creativity. People may perceive the individual's eccentric behavior as the outward expression of their unique intelligence or creative impulse.