Yes -> I was planning to assassinate the king.
No -> I wasn't planning to assassinate the king.
Of course, if he wants to express more shocking, he could add like: "No. Why did you say that?"
I don't see any problem with Yes/No answer here.