who is pein nagato or yohiko
It's definitely some sort of combination of both Yahiko and Nagato. If it was just Nagato or Yahiko, Jiraiya wouldn't have been so shocked when he discovered Pein's true identity. If that was the case even if he was shocked, Jiraiya would have just said something like, "I knew it!".