Change animation state

I need ideas for how I could do a animation that changes state, the on state makes player hold a sword pointing foward in a loop moving slightly the sword up and down, and a off state that makes the player keep the sword in the back.

i am having trouble to animate and i don’t have any idea of how i can do that not using a tool, it need to be just a model not a tool.