This article describes different ways to classify a peanut. In a culinary or colloquial regard, yes it can be considered a nut. In the botanical or biological definition, it is not a nut but rather a legume.