頭{あたま}がいい means smart.
Another pronunciation of 頭 is かしら.
賢{かしこ}い also means smart.
Are 賢い and 頭 related?
Perhaps as the abbreviation of かしらがいい?
かしこい in the sense of "intelligent" is derived not from かしら but from 畏し (かしこし), an adjective meaning "awe-inspiring" or "formidable". Originally, かしこし was used for god-like beings, but the range of what it can represent gradually expanded. Over time, it came to be used for people of noble status and for those who were intellectually gifted. You can check the wide range of meanings in this dictionary entry. Today, かしこい is no longer used in the sense of "awe-inspiring", but the verb かしこまる retains some of its original sense.
かしらreading can be used alone to mean "head". In the show 孤独のグルメ, 3-2, 12:26, when the actor is reading the menu of a restaurant that serves offal, he said: "ホルモン、モツ、子袋、ハツ、胃にタン{tongue}に頭{かしら}まで。"