I guess it's dialect. Switch out "not" or "neither" with "ei" and you got it. "Det er ei en hest eller et tre." You can often find "ei" used for "ikke" in hymns and such.
It is not a dialect word as such, it is perfectly correct Bokmål. It was used more before. A famous example is the opening of Peer Gynt, a play by Ibsen: