He talks as if he (to be) a mad.
He talks as if he were a mad.
He talks as if he to be a mad.
He talks as if he is a mad.
He talks as if he be a mad.