身在曹營心在漢

Etymology
From Romance of the Three Kingdoms
 * Literally: (Guan Yu's) body is in Cao Cao's camp, but his heart is with the Han

Idiom

 * 1) subjugated by one authority, while still remaining loyal to another; not loyal