exit status 1 'mcpButtonState' cannot be used as a function
Use [] not ():

 if((mcp.digitalRead(thisPin) == 0) &amp;&amp; (mcpButtonState[thisPin] == 0))


Note the use of &amp;&amp; instead of the word and.