O son of Pṛthā, that understanding which cannot distinguish between religion and irreligion, between action that should be done and action that should not be done, is in the mode of passion.
by which
the principles of religion
irreligion
and
what ought to be done
also
what ought not to be done
certainly
also
imperfectly
knows
intelligence
that
O son of Prtha
in the mode of passion.