(Hallowed Marsh isn't a spell.)
When Hallowed Marsh enters the battlefield, sacrifice it unless you pay 2 life.
Sacrifice a land: You gain 1 life.
, Pay 1 life, Sacrifice Hallowed Marsh: Search your library for a Plains or Swamp card and put it onto the battlefield, then shuffle your library.