A highly sensitive and selective sensor based on a graphene-coated carbon paste electrode modified with a computationally designed boron-embedded duplex molecularly imprinted hybrid membrane for the sensing of lamotrigine.