In Chaucerian times (1390s), it meant "foolish or naive".
"I nam not nyce." = "Don't take me for a simpleton."