They are a bit strange, in the first white has a queenside castled formation on the kingside and black has vice versa.
The second is the opposite.
I would consider them to both be castled.
The 3rd isn't really a castle - you're likely going to have to move the king again to get the rook into play. Probably by g3 and Kg3.
Do you consider these examples below as a castle.