It's a stalemate because while the king can't move, he isn't under active attack. There is nowhere he can legally move, but he's safe where he's at.
Translating your notation to normal chess notation:
White king on h1, black rooks on a2 and g8, black king in some random other place, white to move.
That is a draw, because white is NOT in check, but has no legal moves. That scenario is called stalemate. If white were in check, it would be checkmate and a win for black. Set it up on any chess analysis board website and it will say the game is a draw.