Which side is Yamato on? In Naruto Chapter 677, Yamato reappears again after posing as fighting against the Great Shinobi Alliance and the Kages.

Which side is he on now currently? If he is on Madara's side, why? Was he brainwashed?
It looks like Yamato was unconscious thus his body was being used as a tool by Zetsu like how Obito corpse is being used by black Zetsu.

So Yamato is on the side of the shinobi alliance.