The present invention relates to compounds of formula I, N-oxides, tautomers, prodrugs and pharmaceutically acceptable salts thereof. Formula I In the formula (I) The variables X, Y, R 1 , R 2 , R 3 , R 4 and R 5 are as defined in the claims, X is CR <; 6 >; or N, Y is CR <; 7 >; or N, R 6 and R 7 are especially hydrogen, halogen, alkoxy, haloalkoxy and the like. The present invention relates to the use of a compound of formula I, which is an inhibitor of phosphodiesterase type 10A, an N-oxide thereof, a tautomer, a prodrug and a pharmaceutically acceptable salt thereof, and therefore a medicament selected from neurological and psychotic disorders To treat or inhibit a disorder, to alleviate the symptoms associated with the disorder, and to reduce the risk of the disorder.본 발명은, 화학식 I의 화합물, 이의 N-옥사이드, 토토머, 프로드럭 및 약제학적으로 허용되는 염에 관한 것이다.화학식 I상기 화학식 I에서,변수 X, Y, R1, R2, R3, R4 및 R5는 특허청구범위에 정의된 바와 같으며:X는 C-R6 또는 N이며,Y는 C-R7 또는 N이며,R6 및 R7은 특히 수소, 할로겐, 알콕시, 할로알콕시 등이다.본 발명은, 포스포디에스테라제 타입 10A의 억제제인 화학식 I의 화합물, 이의 N-옥사이드, 토토머, 프로드럭 및 약제학적으로 허용되는 이의 염, 및 이에 따라 신경 장애 및 정신병적 장애로부터 선택된 의학적 장애를 치료하거나 억제하고, 상기 장애와 관련된 징후를 완화시키고, 상기 장애의 위험을 감소시키기에 적합한 약제를 제조하기 위한 이들의 용도에 관한 것이다.