Which Arduino are you using?
bool newMsgReceivedstate = false;
Variables shared with interrupt routines must be declared "volatile". In any case, you should not be attempting to set up your own serial interrupt, as you are attempting to do.
There are much better ways of determining whether serial data are available. See the "Serial Input Basics" tutorial on this forum.