Your first sentence is correctly formed but unfortunately to be is simply never used that way. There is no other reason. The second sentence is all right. Here is the difference:
You are stupid. (= You are always stupid, your IQ is low.) You are being stupid. (= Right now you are behaving in a stupid way or saying something stupid although you are normally more intelligent