sane

adjective
  1. : mentally sound; specifically : able to understand one's actions and distinguish right from wrong : able to understand one's actions and distinguish right from wrong