To okno było otwarte.

English Translation

The window was open.

Noun + być + adjective, so everything is nominative.
Okno is a neuter singular noun, so otwarty is in the neuter singular form to agree.